package clustersimulator;
class Job{
	private int jobID;
	private int adoc;
	private long processingTime;
	private long timeEnteredQueue;
	private long timeAssigned;
	private long timeFinished;

	public Job(int nJobID, int nADOC, long nProcessingTime, long clock){
		jobID = nJobID;
		adoc = nADOC;
		processingTime = nProcessingTime;
		timeEnteredQueue = clock;
		timeAssigned = 0;
		timeFinished = 0;
	}

	public int getJobID(){
		return jobID;
	}

	public int getADOC(){
		return adoc;
	}

	public long getProcessingTime(){
		return processingTime;
	}

	public long getTimeEnteredQueue(){
		return timeEnteredQueue;
	}

	public long getTimeAssigned(){
		return timeAssigned;
	}

	public long getTimeFinished(){
		return timeFinished;
	}

	void setTimeAssigned(long x){
		timeAssigned = x;
	}

	void setTimeFinished(long x){
		timeFinished = x;
	}
}
